﻿using System.Collections;
using System.Collections.Generic;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
using UnityEngine;

public class AnimatorDoc : DocPrimitive {

	[YamlMember(Alias = "Animator", ApplyNamingConventions = false)]
	public AnimatorObj ao { get; set; }
}

public class AnimatorObj
{
	[YamlMember(Alias = "serializedVersion", ApplyNamingConventions = false)]
	public int version { get; set; }

	[YamlMember(Alias = "m_ObjectHideFlags", ApplyNamingConventions = false)]
	public int objectHideFlags { get; set; }

	[YamlMember(Alias = "m_PrefabParentObject", ApplyNamingConventions = false)]
	public Dictionary<string, int> prefabParent { get; set; } 

	[YamlMember(Alias = "m_PrefabInternal", ApplyNamingConventions = false)]
	public Dictionary<string, int> prefabInternal { get; set; }

	[YamlMember(Alias = "m_GameObject", ApplyNamingConventions = false)]
	public Dictionary<string, uint> gameObject { get; set; }

	[YamlMember(Alias = "m_Enabled", ApplyNamingConventions = false)]
	public int enabled { get; set; }


	[YamlMember(Alias = "m_Avatar", ApplyNamingConventions = false)]
	public Dictionary<string, string> avatar { get; set; }

	[YamlMember(Alias = "m_Controller", ApplyNamingConventions = false)]
	public Dictionary<string, string> controller { get; set; }

	[YamlMember(Alias = "m_CullingMode", ApplyNamingConventions = false)]
	public int cullingMode { get; set; }

	[YamlMember(Alias = "m_UpdateMode", ApplyNamingConventions = false)]
	public int updateMode { get; set; }

	[YamlMember(Alias = "m_ApplyRootMotion", ApplyNamingConventions = false)]
	public int applyRootMotion { get; set; }

	[YamlMember(Alias = "m_LinearVelocityBlending", ApplyNamingConventions = false)]
	public int linearVelocityBlending { get; set; }

	[YamlMember(Alias = "m_WarningMessage", ApplyNamingConventions = false)]
	public string warningMessage { get; set; }

	[YamlMember(Alias = "m_HasTransformHierarchy", ApplyNamingConventions = false)]
	public int hasTransformHierarchy { get; set; }

	[YamlMember(Alias = "m_AllowConstantClipSamplingOptimization", ApplyNamingConventions = false)]
	public int allowconstantclipsamplingoptimization { get; set; }
}
